﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StoreOnlineEntity.Entitys
{
    class Order
    {
        private long id;

        public long ID
        {
            get { return id; }
            set { id = value; }
        }

        private DateTime createdDate;

        public DateTime CreatedDate
        {
            get { return createdDate; }
            set { createdDate = value; }
        }

        private List<OrderDetails> details;

        public List<OrderDetails> Details
        {
            get { return details; }
            set { details = value; }
        }

        private string buyerName;

        public string BuyerName
        {
            get { return buyerName; }
            set { buyerName = value; }
        }

        private string buyerPhoneNumber;

        public string BuyerPhoneNumber
        {
            get { return buyerPhoneNumber; }
            set { buyerPhoneNumber = value; }
        }

        private string buyerEmail;

        public string BuyerEmail
        {
            get { return buyerEmail; }
            set { buyerEmail = value; }
        }

        private string note;

        public string Note
        {
            get { return note; }
            set { note = value; }
        }

        private DateTime lastedModify;

        public DateTime LastedModify
        {
            get { return lastedModify; }
            set { lastedModify = value; }
        }

        private User lastedUser;

        public User LastedUser
        {
            get { return lastedUser; }
            set { lastedUser = value; }
        }

    }
}
